Skip to main content

encounterresults

Table: encounterresults​

The encounterresults table stores the results or observations collected during encounters between participants.
It records values, display information, and grouping details for each encounter element.


Columns​

Column NameData TypeConstraintsDescription
elementvarchar(255)NOT NULLName or identifier of the encounter element being recorded
encounterIdint(11)NOT NULLIdentifier of the encounter (links to encounter)
p1idint(11)NOT NULLParticipant 1 ID (links to idmapper)
p2idint(11)NOT NULLParticipant 2 ID (links to idmapper)
valuevarchar(255)NULLRecorded value for the element during the encounter
orderAsint(11)NULLOrdering number for display purposes
groupNamevarchar(255)NULLGroup name or category for the element
displayNamevarchar(255)NULLFriendly display name for the element

Indexes​

  • None specified

Foreign Key Relations​

  • None defined in the table, but encounterId, p1id, and p2id correspond to the encounter table and idmapper table for participants.

Usage Notes​

  • Stores detailed results or observations collected during encounters.
  • groupName and displayName help organize and display results in reports or forms.
  • orderAs can be used to define the display sequence of elements.
  • Linked indirectly to encounter and idmapper to maintain participant context.